/**
 * Created by Administrator on 2017/4/20.
 */


var Poker = require('../Poker/Poker');

var Pattern = {
    NONE: 0,        // 无牛
    N1: 1,       // 牛1
    N2: 2,       // 牛2
    N3: 3,       // 牛3
    N4: 4,       // 牛4
    N5: 5,       // 牛5
    N6: 6,       // 牛6
    N7: 7,       // 牛7
    N8: 8,       // 牛8
    N9: 9,       // 牛9
    NN: 10,      // 牛牛
    WHN: 11,    // 五花牛
    ZDN:12,       //炸弹牛
    WXN: 13,     // 五小牛
    
}

var PatternMulti = {};
PatternMulti[Pattern.NONE] = 1;
PatternMulti[Pattern.N1] = 1;
PatternMulti[Pattern.N2] = 1;
PatternMulti[Pattern.N3] = 1;
PatternMulti[Pattern.N4] = 1;
PatternMulti[Pattern.N5] = 1;
PatternMulti[Pattern.N6] = 1;
PatternMulti[Pattern.N7] = 1;
PatternMulti[Pattern.N8] = 2;
PatternMulti[Pattern.N9] = 2;
PatternMulti[Pattern.NN] = 3;
PatternMulti[Pattern.WHN] = 5;
PatternMulti[Pattern.ZDN] = 6;
PatternMulti[Pattern.WXN] = 8;



exports.Pattern = Pattern;
exports.PatternMulti = PatternMulti;

